package com.annchain.og_browser.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

import java.util.HashMap;
import java.util.Map;


@RestController
public class HealthController {

    @RequestMapping(value = "/health", method = RequestMethod.GET)
    public Map<String, String> health() {
        Map<String, String> result = new HashMap<String, String>();
        result.put("status", "UP");
        return result;
    }

}
